<?php

/**
 * Class Involved_TicketRecordModel
 */

class Involved_TicketRecordModel extends BaseModel
{

    protected $table = 'ticket_record';

    /**
     * 获取报票记录列表
     */
    public function TicketRecordList(){
        return  DB::table($this->table)->get();
    }


    /**
     * 获取报票记录列表
     */
    public function GetTicketRecordOne($id){
        return  DB::table($this->table)
            ->where('ticket_record.ticket_id',$id)
            ->first();
    }
}